#ifndef __VCD_SYS_UPGRADE_H__
#define __VCD_SYS_UPGRADE_H__

#include <gtk/gtk.h>

G_BEGIN_DECLS

typedef struct 
{
    /*检查更新线程句柄*/
    GThread *thread_check_new_version;

    /*是否正在检查更新的状态标志位*/
    gboolean check_new_version_flag;

    /*执行更新任务线程句柄*/
    GThread *thread_do_upgrade;

    /*更新按钮*/
    GtkWidget *btn;

} client_upgrade;

extern client_upgrade *g_client_upgrade_context;

typedef struct 
{    

} check_upgrade_status;

GtkWidget* get_upgrade_setting_fix(void);
/*结束检查新更新的线程*/
void stop_check_new_version_thread(void);

G_END_DECLS
#endif
